Closed DarinDev1000 closed 2 years ago
This pull request https://github.com/serverless/github-action/pull/19 fixes my issue.
The updated code should be:
on:
push:
branches:
- master
name: Serverless deploy master branch
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- run: npm ci
- name: serverless deploy
uses: serverless/github-action@master
with:
args: deploy
env:
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
# or if using AWS creds directly
# AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
# AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
@DarinDev1000 works, you're awesome.
Thanks
facing the same issur, can we re-open this
Also facing the same issue.
Github actions had an outage yesterday at US, this is the reason https://www.githubstatus.com/incidents/gh0vvxtlj5v7 It started working fine after 6 hours, we can close this
Here is my workflow file
I have also tried
- uses: actions/checkout@master
as the first step.When I run it, I get this error:
Any ideas why it has an error? Thanks