2022-08-18 01:33:28 +03:00
|
|
|
name: "Release dev container features"
|
2022-06-03 17:49:26 +03:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
2022-08-17 22:48:38 +03:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- main
|
2022-06-03 17:49:26 +03:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
deploy:
|
2022-08-05 22:22:30 +03:00
|
|
|
if: ${{ github.ref == 'refs/heads/main' }}
|
2022-06-03 17:49:26 +03:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v2
|
2022-08-17 21:36:45 +03:00
|
|
|
|
2022-08-18 01:33:28 +03:00
|
|
|
- name: "Publish"
|
|
|
|
uses: devcontainers/action@v1
|
2022-06-03 17:49:26 +03:00
|
|
|
with:
|
|
|
|
publish-features: "true"
|
|
|
|
base-path-to-features: "./src"
|
2022-08-05 22:22:30 +03:00
|
|
|
env:
|
2022-08-17 21:36:45 +03:00
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|