You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Top level 'runs:' section is required for annshiv/Hostinger-deployment/v2.1/action.yml
And the action failed and nothing pushed to hostinger.
What I did
I did generate SSH key, then stored it on deploy keys under deploy keys by name Hostinger key
I did create a webhook, then pasted the webhook URL on it from the one I copyed from hostinger.
I did create a publish.yml file, with content as following:
name: Generate a build and push to another branchon:
push:
branches:
- main # The branch name your are commit the new changesjobs:
build:
runs-on: ubuntu-latestname: Build and Pushsteps:
- name: Deploy to Hostingeruses: annshiv/[email protected]
- name: git-checkoutuses: actions/checkout@v3
- name: Install all dependenciesrun: npm install
- name: Buildrun: npm run build # The build command of your project
- name: Pushuses: s0/git-publish-subdir-action@developenv:
REPO: selfBRANCH: build # The branch name where you want to push the assetsFOLDER: . # The directory where your assets are generatedGITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a tokenMESSAGE: "Build: ({sha}) {msg}"# The commit message
Tell me whats wrong please
The text was updated successfully, but these errors were encountered:
I have this issue:
And the action failed and nothing pushed to hostinger.
What I did
Hostinger key
Tell me whats wrong please
The text was updated successfully, but these errors were encountered: