Skip to content

Commit

Permalink
fix action
Browse files Browse the repository at this point in the history
  • Loading branch information
edigonzales committed Oct 13, 2024
1 parent eeac34c commit 538e5a1
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
- name: Set up Quarto
uses: quarto-dev/quarto-actions/setup@v2

# - name: Render and Publish
# uses: quarto-dev/quarto-actions/publish@v2
# with:
# target: gh-pages
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Render and Publish
uses: quarto-dev/quarto-actions/publish@v2
with:
target: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Create s3 config and credentials file
run: |
Expand All @@ -40,6 +40,9 @@ jobs:
cat ~/.aws/config
cat ~/.aws/credentials
- name: Publish to S3
run: aws s3 sync _site s3://ch-agi-geodaten-dev/

# with:
# aws_key_id: ${{ secrets.HETZNER_S3_KEY_ID }}
# aws_secret_access_key: ${{ secrets.HETZNER_S3_SECRET_ACCESS_KEY}}
Expand Down

0 comments on commit 538e5a1

Please sign in to comment.