Skip to content

Commit

Permalink
chore: Update GitHub Actions workflows for push events
Browse files Browse the repository at this point in the history
  • Loading branch information
nalbam committed Aug 16, 2024
1 parent fedd3a3 commit 2dc16fe
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 54 deletions.
53 changes: 0 additions & 53 deletions .github/workflows/push-toast-sh.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: push-toaster-run
name: build

on:
push:
Expand All @@ -24,6 +24,18 @@ jobs:
run: |
bash ./package.sh
- name: Publish to AWS S3
uses: opspresso/action-builder@master
with:
args: --publish
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
AWS_REGION: "ap-northeast-2"
FROM_PATH: "./target/publish"
DEST_PATH: "s3://www.toast.sh"
OPTIONS: "--acl public-read"

- name: Publish to AWS S3
uses: opspresso/action-builder@master
with:
Expand Down

0 comments on commit 2dc16fe

Please sign in to comment.