Skip to content

Commit

Permalink
fix: correct publishing action (#5)
Browse files Browse the repository at this point in the history
* fix: run on ubuntu

* fix: add requirements.txt

* fix: s3cmd excluse

* feat: add README
  • Loading branch information
mchristopher authored Aug 23, 2024
1 parent fae5997 commit 2dbbe4c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ env:

jobs:
publish-to-s3:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
Expand All @@ -37,7 +38,7 @@ jobs:
cache: 'pip'

- name: Install s3cmd tool
run: pip install s3cmd
run: pip install -r requirements.txt

- name: Sync files to S3
run: s3cmd sync —exclude '.git*' --delete-removed ./ s3://${{ env.AWS_S3_BUCKET }}/
run: s3cmd --exclude '.git*' --delete-removed sync ./ s3://${{ env.AWS_S3_BUCKET }}/
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Fuel Chain Configuration

This repo contains the latest Fuel Chain Configuration data.

It is also available via CDN from https://chain-config-assets.fuel.network.
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
s3cmd==2.4.0

0 comments on commit 2dbbe4c

Please sign in to comment.