Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(GitHub): Update cron.yml #85

Merged
merged 2 commits into from
May 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .github/workflows/cron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
build:
name: Build Website
# runs-on: ubuntu-20.04
runs-on: macos-latest
runs-on: macos-13
steps:
- name: Set up Go 1.22
uses: actions/setup-go@v4
Expand Down Expand Up @@ -111,7 +111,10 @@ jobs:
curl -H 'Content-Type: application/json' -H 'X-Meili-API-Key: ${{ secrets.SEARCHAPITOKEN }}' -X POST ${{ secrets.SEARCHAPIHOST }}/indexes/avd/documents --data @docs/searchindex.json

- name: Install AWS CLI
run: pip3 install awscli
run: |
python3 -m venv .venv
source .venv/bin/activate
pip3 install awscli

- name: Sync changes to the bucket
run: aws s3 sync --no-progress --only-show-errors --size-only avd-repo/docs ${{ secrets.PROD_AVD_BUCKET }}
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,10 @@ jobs:
run: make copy-assets

- name: Install AWS CLI
run: pip3 install awscli
run: |
python3 -m venv .venv
source .venv/bin/activate
pip3 install awscli

- name: Sync changes to the bucket
run: aws s3 sync --no-progress --only-show-errors --size-only avd-repo/docs ${{ secrets.STAGING_AVD_BUCKET }}
Expand Down
Loading