Skip to content

Commit

Permalink
fix: workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanshuyou committed Sep 4, 2024
1 parent 3688e59 commit a200d20
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ on:
repository_dispatch:
types: [prod-deploy]
push:
branches:
- master
paths-ignore:
- "preview/**.md"
workflow_dispatch:
Expand All @@ -16,6 +14,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
fetch-depth: 5

- name: Set Node.js 20.x
uses: actions/setup-node@v3
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
if: steps.check-new-files.outputs.new_files_detected == 'true'
run: |
echo "New file detected, running script..."
touch .env
echo DEEPL_API_KEY=${{secrets.DEEPL_API_KEY}} >> .env
echo GITHUB_TOKEN=${{secrets.GH_TOKEN}} >> .env
Expand Down

0 comments on commit a200d20

Please sign in to comment.