Update Redwood to v7.6.3-next.11 (#1164) #141
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 Serverless AWS | |
on: | |
push: | |
branches: [main] | |
paths: [ | |
'serverless-aws/**', | |
'.github/workflows/deploy-serverless-aws.yml' | |
] | |
jobs: | |
deploy-serverless-aws: | |
if: github.repository == 'redwoodjs/deploy-target-ci' | |
name: Deploy Serverless AWS | |
runs-on: ubuntu-latest | |
env: | |
REDWOOD_CI: 1 | |
DATABASE_URL: ${{ secrets.SERVERLESS_DATABASE_URL }} | |
API_URL: ${{ secrets.SERVERLESS_API_URL}} | |
SESSION_SECRET: ${{ secrets.SERVERLESS_SESSION_SECRET}} | |
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }} | |
defaults: | |
run: | |
working-directory: ./serverless-aws | |
steps: | |
- uses: actions/checkout@v4 | |
- name: ⬢ Enable Corepack | |
run: corepack enable | |
- name: ⬢ Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: 🐈 Yarn install | |
run: yarn install --inline-builds | |
env: | |
GITHUB_TOKEN: ${{ github.token }} | |
- name: 🏗️ Build | |
run: yarn rw deploy serverless --pack-only | |
- name: 🚀 Deploy | |
run: yarn rw deploy serverless | |