Skip to content

fix(deps): update all non-major dependencies #6142

fix(deps): update all non-major dependencies

fix(deps): update all non-major dependencies #6142

name: Update side projects
on:
push:
tags: ["**"]
branches: [master]
pull_request:
branches: [master]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
env:
VAGRANT_ORG: PKUHPC
VAGRANT_REPO: scow-vagrant
jobs:
openscow-vagrant:
name: Update openscow-vagrant if not from fork
runs-on: ubuntu-latest
if: github.event.pull_request.head.repo.fork == false
steps:
- uses: actions/checkout@v4
- name: Create version file for tag commit
if: github.ref_type == 'tag'
uses: finnp/create-file-action@master
env:
FILE_NAME: "./deploy/vagrant/VERSION"
FILE_DATA: "${{ github.ref_name }}"
- name: Pushes to ${{ env.VAGRANT_ORG }}/${{ env.VAGRANT_REPO }} repo
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.SCOW_DEPLOYMENT_PAT }}
folder: ./deploy/vagrant
repository-name: ${{ env.VAGRANT_ORG }}/${{ env.VAGRANT_REPO }}
branch: ${{ github.ref_type == 'branch' && github.ref_name || 'master' }}