Skip to content

Merge pull request #30 from zxypro1/astro #17

Merge pull request #30 from zxypro1/astro

Merge pull request #30 from zxypro1/astro #17

Workflow file for this run

name: Serverless Devs Test CD
on:
push:
branches: [astro]
jobs:
serverless-devs-cd:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm install
- run: npm run build
- run: npm install -g @serverless-devs/s
- run: s config add --AccessKeyID ${{secrets.YUMU_AK}} --AccessKeySecret ${{secrets.YUMU_SK}} -a default -f
- run: rm -rf .git
- run: rm -rf .github
- run: rm -rf node_modules
- run: s deploy -t s-test.yaml -y
- run: s info -t s-test.yaml -y
- run: s deploy -t s-oss-test.yaml -y
- run: s info -t s-oss-test.yaml -y