Skip to content

Commit

Permalink
Update deploy-page.yaml
Browse files Browse the repository at this point in the history
- Workflow should now work after specifying project name and static file location
  • Loading branch information
Kaister300 committed Feb 5, 2024
1 parent c89e0e0 commit 6c3ce95
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/deploy-page.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
Expand All @@ -20,7 +20,7 @@ jobs:
cache: "npm"

- name: Install Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
Expand All @@ -46,5 +46,4 @@ jobs:
with:
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
workingDirectory: "project/output"
command: pages deploy --project-name=${{inputs.environment}}
command: pages deploy --project-name=btd6paragoncalculator --env ${{inputs.environment}} project/output

0 comments on commit 6c3ce95

Please sign in to comment.