Skip to content

Automated deployment: Sun Jun 25 01:15:57 UTC 2023 bebb137ef9d5b679a4… #372

Automated deployment: Sun Jun 25 01:15:57 UTC 2023 bebb137ef9d5b679a4…

Automated deployment: Sun Jun 25 01:15:57 UTC 2023 bebb137ef9d5b679a4… #372

Workflow file for this run

name: seata.io deploy on oss
on:
push:
branches:
- master
jobs:
Build-Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Use Node.js 12.x
uses: actions/setup-node@v2
with:
node-version: 12.x
- name: Copy and Config
run: |
mkdir deploy-dist && cp -R zh-cn/ en-us/ build/ img/ md_json/ site_config/ schema/ saga_designer/ deploy-dist/ && mv .htaccess *.html *.txt *.xml deploy-dist/
- run: npm i @serverless-devs/s -g --registry=https://registry.npmmirror.com
- run: s config add --AccountID ${{secrets.ACCOUNT_ID}} --AccessKeyID ${{secrets.ACCESS_KEYID}} --AccessKeySecret ${{secrets.ACCESS_KEYSECRET}} -a seata -f
- name: Deploy
run: s deploy --use-local -y
- name: Update Cache-Control
uses: doggycool/ossutil-github-action@master
with:
ossArgs: 'set-meta oss://seata-website-cn-hongkong/ Cache-Control:no-cache -rf'
accessKey: ${{ secrets.ACCESS_KEYID }}
accessSecret: ${{ secrets.ACCESS_KEYSECRET }}
endpoint: oss-cn-hongkong.aliyuncs.com