Skip to content

Commit

Permalink
vars
Browse files Browse the repository at this point in the history
  • Loading branch information
viperehonchuk committed Feb 1, 2024
1 parent 2be58d1 commit ab4db89
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
node-version: '18'
- run: yarn install
- run: yarn build
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: interactive-examples
Expand All @@ -69,12 +69,12 @@ jobs:
- name: Debug PATH_TO_LOCALIZED_CONTENT
run: echo $PATH_TO_LOCALIZED_CONTENT
env:
PATH_TO_LOCALIZED_CONTENT: ${{ env.PATH_TO_LOCALIZED_CONTENT }}
PATH_TO_LOCALIZED_CONTENT: ${{ vars.PATH_TO_LOCALIZED_CONTENT }}
- name: Run preprocess
env:
PATH_TO_LOCALIZED_CONTENT: ${{ env.PATH_TO_LOCALIZED_CONTENT }}
PATH_TO_LOCALIZED_CONTENT: ${{ vars.PATH_TO_LOCALIZED_CONTENT }}
run: node ./preprocess/dist/index.js
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: translatedContent
Expand All @@ -95,10 +95,10 @@ jobs:
- name: Run build
run: yarn build
env:
BASE_PATH: ${{ env.BASE_PATH }}
PATH_TO_LOCALIZED_CONTENT: ${{ env.PATH_TO_LOCALIZED_CONTENT }}
BASE_PATH: ${{ vars.BASE_PATH }}
PATH_TO_LOCALIZED_CONTENT: ${{ vars.PATH_TO_LOCALIZED_CONTENT }}
ROLLBAR_ACCESS_TOKEN: ${{ secrets.ROLLBAR_ACCESS_TOKEN }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: build
Expand All @@ -120,5 +120,5 @@ jobs:
node-version: '21'
- run: yarn deploy
env:
SURGE_LOGIN: ${{ env.SURGE_LOGIN }}
SURGE_LOGIN: ${{ vars.SURGE_LOGIN }}
SURGE_TOKEN: ${{ secrets.SURGE_TOKEN }}

0 comments on commit ab4db89

Please sign in to comment.