-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (32 loc) · 986 Bytes
/
upload.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: publish
on:
push:
branches:
- master
- release/*
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build_vue:
runs-on: ubuntu-latest
name: publish
steps:
- uses: actions/checkout@v2
- uses: Pivot-Studio/action-qiniu-upload@master
with:
# Your qiniu access key, required.
access_key: ${{ secrets.QINIU_ACCESS_KEY }}
# Your qiniu secret key, required.
secret_key: ${{ secrets.QINIU_SECRET_KEY }}
# Bucket name, required.
bucket: ${{ secrets.QINIU_BUCKET }}
# The local directory (or file) you want to upload to bucket.
# Default: './'
source_dir: './'
# The directory inside of the bucket you want to upload to, namely key prefix prepended to dest file key.
# Default: '/'
dest_dir: '/apt'
# Whether to ignore source maps.
# Default: true
ignore_source_map: true