Skip to content

v2.8.1

v2.8.1 #14

Workflow file for this run

name: Update the "latest" branch
on:
release:
types: [published]
jobs:
update-latest-branch:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Push to "latest" branch
run: |
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git checkout main
git branch -f latest
git push https://${GH_TOKEN}@github.com/${GITHUB_REPOSITORY} latest --force
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}