Skip to content

Commit

Permalink
ci:actions
Browse files Browse the repository at this point in the history
  • Loading branch information
iRuxu committed Feb 10, 2023
1 parent 6181569 commit 78195da
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Github Pages
on:
push:
branches:
- master
push:
branches:
- master
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false

- name: OSS
uses: manyuanrong/setup-ossutil@v2.0
with:
endpoint: "oss-cn-hangzhou.aliyuncs.com"
access-key-id: ${{secrets.OSS_ACCESSKEY_ID}}
access-key-secret: ${{secrets.OSS_ACCESS_KEY_SECRET}}
- run: ossutil cp -rf . oss://deepberry/static/tinymce
- name: OSS
uses: manyuanrong/setup-ossutil@v2.0
with:
endpoint: "oss-cn-zhangjiakou.aliyuncs.com"
access-key-id: ${{secrets.OSS_ACCESSKEY_ID}}
access-key-secret: ${{secrets.OSS_ACCESS_KEY_SECRET}}
- run: ossutil cp -rf . oss://deepberry/static/tinymce

0 comments on commit 78195da

Please sign in to comment.