Add gnome-autoar #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Upload port page | |
on: | |
push: | |
branches: [master] | |
pull_request: | |
branches: [master] | |
jobs: | |
upload: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Download code | |
uses: actions/checkout@v4 | |
- name: Download Crux utils | |
uses: joutvhu/download-s3@v1 | |
with: | |
aws_access_key_id: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
aws_secret_access_key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} | |
aws_region: eu-north-1 | |
aws_bucket: cruxfiles | |
source: '' | |
target: 'utils' | |
- name: Adjust permissions | |
run: | | |
chmod u+x $PWD/utils/* | |
- name: Download SSH key | |
uses: shimataro/ssh-key-action@v2 | |
with: | |
key: ${{ secrets.SSH_KEY }} | |
name: id_rsa | |
known_hosts: ${{ secrets.SSH_KNOWN_HOSTS }} | |
- name: Refresh and upload ports repo | |
run: | | |
PATH=$PATH:$PWD/utils ./port-sync.sh |