Skip to content

Commit

Permalink
Merge pull request #2 from rails/release-features-workflow
Browse files Browse the repository at this point in the history
Release features GH action
  • Loading branch information
andrewn617 authored Mar 1, 2024
2 parents 0775052 + 2da414f commit b2a6f64
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/release-features.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
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 }}

0 comments on commit b2a6f64

Please sign in to comment.