Skip to content

Commit

Permalink
Inline script.
Browse files Browse the repository at this point in the history
  • Loading branch information
dkocher committed Jan 1, 2025
1 parent dddc774 commit d1a71dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 29 deletions.
24 changes: 0 additions & 24 deletions .github/sync.sh

This file was deleted.

10 changes: 5 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
sudo apt-get update
sudo apt-get -y install duck
- name: Deploy
run: .github/sync.sh ./_build/dirhtml
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
run: |
echo "Upload ./_build/dirhtml"
duck -y --username ${{ secrets.AWS_ACCESS_KEY_ID }} --password ${{ secrets.AWS_SECRET_ACCESS_KEY }} --existing compare --upload s3:/github-cyberduck-docs/ ./_build/dirhtml/* --region ${{ secrets.AWS_DEFAULT_REGION }}
echo "Purging CDN configuration"
duck -y --username ${{ secrets.AWS_ACCESS_KEY_ID }} --password ${{ secrets.AWS_SECRET_ACCESS_KEY }} --purge s3:/github-cyberduck-docs/

0 comments on commit d1a71dd

Please sign in to comment.