Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tag based triggers on current branch #243

Merged
merged 1 commit into from
Mar 26, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/deploy-vscode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,22 @@
name: VSCode Publish

on:
release:
types:
- created
push:
tags:
- '**' # Trigger the workflow for any tag push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout commit
- name: Checkout repo at the pushed tag
uses: actions/checkout@v4
with:
# This configures the action to checkout the commit that was tagged,
# which is effectively the code state you want to work with.
ref: ${{ github.ref }}

- name: Use Node.js
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
Expand Down