Your application has been successfully linked!
/action/node_modules/.bin/clever deploy --alias app_4ca8574d-d874-4f51-a266-cab26fb38548
Remote git head commit is e98ab5111fe052f7b507b7c95336b9a99232d4fa
Current deployed commit is e98ab5111fe052f7b507b7c95336b9a99232d4fa
New local commit to push is ad5da503d4d712cec35847b8749f3314abfaf063 (from refs/heads/master)
Error: Push rejected because it was not a simple fast-forward. Use "--force" to override.
Error: The process '/action/node_modules/.bin/clever' failed with exit code 1
Here is my main.yml file:
# This is a basic workflow to help you get started with Actions
name: Deploy Clever-cloud
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the master branch
push:
branches: [master]
pull_request:
branches: [master]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v2
- run: git fetch --prune --unshallow
- uses: 47ng/actions-clever-cloud@v1
with:
appID: app_XXX
env:
CLEVER_TOKEN: ${{ secrets.CLEVER_TOKEN }}
CLEVER_SECRET: ${{ secrets.CLEVER_SECRET }}
Hello,
I got this error everytime I try to run the job:
Here is my
main.yml
file:Thank you for your help!