Skip to content

Commit

Permalink
Upload archive
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeelio committed Aug 6, 2024
1 parent 2ba6d68 commit 87d2740
Showing 1 changed file with 10 additions and 25 deletions.
35 changes: 10 additions & 25 deletions .github/workflows/distribute.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
type: 'zip'
directory: 'dist/'
path: '../'
filename: 'vmsacars_config.zip'
filename: 'stable.zip'
exclusions: '*.git* /*node_modules/* .editorconfig dist'
command: "mkdir -p dist"

Expand All @@ -27,27 +27,12 @@ jobs:
run: |
find dist/ -maxdepth 2 -type f
# You can uncomment the method you want to use to upload
# Create the environment variables appropriately to set it up

# Upload via SFTP. See details here:
# https://github.com/marketplace/actions/sftp-uploader

#- name: SFTP uploader
# uses: wangyucode/[email protected]
# with:
# host: ${{ secrets.SFTP_HOST }}
# password: ${{ secrets.SFTP_PASSWORD }}
# localDir: 'dist'
# remoteDir: ${{ secrets.SFTP_REMOTE_PATH }}

# Upload to an S3 bucket
# https://github.com/actions-marketplace-validations/shallwefootball_upload-s3-action
#- name: Upload S3
# uses: shallwefootball/s3-upload-action@master
# with:
# aws_key_id: ${{ secrets.S3_BUILD_ARTIFACTS_ACCESS_KEY_ID }}
# aws_secret_access_key: ${{ secrets.S3_BUILD_ARTIFACTS_SECRET_ACCESS_KEY}}
# aws_bucket: ${{ secrets.S3_BUCKET_NAME }}
# source_dir: 'dist/'
# destination_dir: ''
- uses: BetaHuhn/do-spaces-action@v2
with:
access_key: ${{ secrets.SPACE_ACCESS_KEY}}
secret_key: ${{ secrets.SPACE_SECRET_KEY }}
space_name: ${{ secrets.SPACE_NAME }}
space_region: ${{ secrets.SPACE_REGION }}
cdn_domain: ${{ secrets.SPACE_CDN_DOMAIN }}
source: dist
out_dir: configs

0 comments on commit 87d2740

Please sign in to comment.