Skip to content

Commit

Permalink
ci fix (#39)
Browse files Browse the repository at this point in the history
  • Loading branch information
enovikov11 authored Oct 5, 2023
1 parent c4a0a30 commit 3d84496
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v2
env:
REPO: https://${{ secrets.GITHUB_TOKEN }}@github.com/rtxdata/rtxdata.github.io.git

- name: Setup Node.js
uses: actions/setup-node@v2
Expand All @@ -32,8 +34,6 @@ jobs:
- name: Run deploy script
run: npm run deploy
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

permissions:
contents: write
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"test": "react-scripts test",
"eject": "react-scripts eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build -b main"
"deploy": "gh-pages -d build -b main -r $REPO"
},
"eslintConfig": {
"extends": [
Expand Down

0 comments on commit 3d84496

Please sign in to comment.