Skip to content

update learning

update learning #38

Workflow file for this run

name: Serverless Devs Astro Website 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/[email protected]
- run: s config add --AccessKeyID ${{secrets.ACCESSKEYID}} --AccessKeySecret ${{secrets.ACCESSKEYSECRET}} --AccountID ${{secrets.ACCOUNTID}} -a default -f
- run: rm -rf .git
- run: rm -rf .github
- run: rm -rf node_modules
- run: s deploy -t s-deploy.yaml -y
- run: s info -t s-deploy.yaml -y
# - run: s deploy -t s.oss.yaml -y
# - run: s info -t s.oss.yaml -y