21 lines
458 B
YAML
21 lines
458 B
YAML
name: "Release dev container features"
|
|
on:
|
|
workflow_dispatch:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
deploy:
|
|
if: ${{ github.ref == 'refs/heads/main' }}
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
- name: "Publish"
|
|
uses: devcontainers/action@v1
|
|
with:
|
|
publish-features: "true"
|
|
base-path-to-features: "./src"
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |