Skip to content

Add File to Bucket

Add File to Bucket #10

Workflow file for this run

name: Add File to Bucket
on:
push:
branches:
- main
workflow_dispatch:
issues:
types: [opened, edited]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Upload file to bucket
uses: AchanYao/[email protected]
env:
FILE: ./docs/
S3_ENDPOINT: 's3.api.upyun.com'
S3_BUCKET: ${{ secrets.S3_BUCKET }}
S3_ACCESS_KEY_ID: ${{ secrets.S3_ACCESS_KEY_ID }}
S3_SECRET_ACCESS_KEY: ${{ secrets.S3_SECRET_ACCESS_KEY }}
S3_PREFIX: ''