Skip to content

Commit

Permalink
Fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Misra Aditya committed Mar 11, 2024
1 parent 6403eb1 commit 7286347
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deployment-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
deploy_web:
if: ${{ github.ref == 'CATcher-org/WATcher-staging' }}
if: ${{ github.repository == 'CATcher-org/WATcher-staging' }}
runs-on: ubuntu-latest
strategy:
matrix:
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/staging-fetch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@ jobs:
- name: Checkout Upstream
uses: actions/checkout@v2
with:
ref: deploy
token: ${{ secrets.DEPLOY_TOKEN }}
repository: CATcher-org/WATcher-staging
ref: master
token: ${{ secrets.STAGING_TOKEN }}
fetch-depth: 0
- name: Merge Upstream
run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"ng": "ng",
"build:staging": "npm run codegen:gql && ng build --c staging --base-href=https://catcher-org.github.io/WATcher-staging/",
"build:prod:web": "npm run codegen:gql && ng build --prod --base-href=https://catcher-org.github.io/WATcher/",
"build:prod:web": "npm run codegen:gql && ng build --prod --base-href=https://CATcher-org.github.io/WATcher/",
"ng:serve": "npm run codegen:gql && ng serve",
"ng:serve:web": "npm run ng:serve -- -o",
"deploy:staging": "npm run build:staging && ngh --dir=dist --name=WATcher [email protected] --no-silent",
Expand Down

0 comments on commit 7286347

Please sign in to comment.