Skip to content

Commit

Permalink
fix(ci): 使用vars指定vagrant仓库
Browse files Browse the repository at this point in the history
  • Loading branch information
ddadaal committed Apr 13, 2024
1 parent 87468bc commit cecab6f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
uses: dawidd6/action-delete-branch@v3
with:
github_token: ${{ secrets.SCOW_DEPLOYMENT_PAT }}
owner: ${{ secrets.VAGRANT_REPO_OWNER }}
repository: ${{ secrets.VAGRANT_REPO_NAME }}
owner: ${{ vars.VAGRANT_REPO_OWNER }}
repository: ${{ vars.VAGRANT_REPO_NAME }}
branches: ${{ github.event.number }}/merge
soft_fail: true
4 changes: 2 additions & 2 deletions .github/workflows/side-projects.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
FILE_NAME: "./deploy/vagrant/VERSION"
FILE_DATA: "${{ github.ref_name }}"

- name: Pushes to scow-vagrant repo
- name: Pushes to ${{ vars.VAGRANT_REPO_OWNER }}/${{ vars.VAGRANT_REPO_NAME }} repo
uses: JamesIves/github-pages-deploy-action@v4
with:
token: ${{ secrets.SCOW_DEPLOYMENT_PAT }}
folder: ./deploy/vagrant
repository-name: ${{ secrets.VAGRANT_REPO_OWNER }}/${{ secrets.VAGRANT_REPO_NAME }}
repository-name: ${{ vars.VAGRANT_REPO_OWNER }}/${{ vars.VAGRANT_REPO_NAME }}
branch: ${{ github.ref_type == 'branch' && github.ref_name || 'master' }}

0 comments on commit cecab6f

Please sign in to comment.