Skip to content

Merge pull request #3 from rails/default-for-version-option #4

Merge pull request #3 from rails/default-for-version-option

Merge pull request #3 from rails/default-for-version-option #4

name: "Release devcontainer features"
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-latest
permissions:
packages: write
steps:
- uses: actions/checkout@v3
- name: "Publish"
uses: devcontainers/action@v1
with:
publish-features: "true"
base-path-to-features: "./features"
features-namespace: "devcontainer/features"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}