Skip to content

Commit

Permalink
try PR Branch Name action
Browse files Browse the repository at this point in the history
  • Loading branch information
cryptix committed May 19, 2021
1 parent 5c863fd commit 429f7ed
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,18 @@ jobs:
npm run compile-prod
popd
- name: get PR branch name
uses: mdecoleman/pr-branch-name@1.0.1
id: vars
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}

- name: push updated style.css
uses: github-actions-x/commit@v2.7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'update production style.css branch'
files: web/assets/style.css
push-branch: $GITHUB_REF
rebase: 'true'
push-branch: ${{ steps.vars.outputs.branch }}
name: Github CI
email: ci@github.com

0 comments on commit 429f7ed

Please sign in to comment.