features/.github/workflows/release.yaml

21 lines
458 B
YAML
Raw Permalink Normal View History

name: "Release dev container features"
2022-06-03 17:49:26 +03:00
on:
workflow_dispatch:
push:
branches:
- main
2022-06-03 17:49:26 +03:00
jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
2022-06-03 17:49:26 +03:00
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: "Publish"
uses: devcontainers/action@v1
2022-06-03 17:49:26 +03:00
with:
publish-features: "true"
base-path-to-features: "./src"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}