Created
June 29, 2023 06:48
-
-
Save jibsaramnim/a42405e510c474501d9f122ec24d4678 to your computer and use it in GitHub Desktop.
Gitea deploy to Netlify Action
This file contains hidden or 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 to Netlify' | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatched: | |
jobs: | |
deploy: | |
name: 'Deploy to Netlify' | |
steps: | |
- uses: actions/checkout@v3 | |
name: Checking out repository code.. | |
- uses: https://github.com/nwtgck/[email protected] | |
name: Deploying to Netlify.. | |
with: | |
publish-dir: './dist' | |
production-deploy: true | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
deploy-message: "Deployed from Gitea Action" | |
enable-commit-comment: false | |
enable-pull-request-comment: false | |
overwrites-pull-request-comment: true | |
enable-github-deployment: false | |
env: | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
timeout-minutes: 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment