fix: selerverless官网需求:search接口搜索改为v3搜索api #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy on FC | |
permissions: | |
contents: write | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
deploy: | |
if: github.repository == 'Serverless-Devs/registry-website' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install s | |
run: npm i @serverless-devs/s -g | |
- run: s config add --AccessKeyID ${{secrets.AK}} --AccessKeySecret ${{secrets.SK}} -a default -f | |
- run: rm -rf .git | |
- run: rm -rf .github | |
- name: Deploy on FC | |
run: s deploy -y | |
- run: s info |