Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Commit

Permalink
feat(production): initial deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
rdelgatte committed Mar 11, 2024
1 parent 16d84a0 commit 9b45680
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Deploy to Netlify production

on:
push:
branches:
- production

jobs:
build-deploy:
if: "!contains(github.event.head_commit.message, 'ci skip')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Deploy to Netlify
uses: nwtgck/actions-netlify@v1.2
with:
production-branch: production
production-deploy: true
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: "Deploy from GitHub Actions"
netlify-config-path: "./netlify.toml"
enable-pull-request-comment: false
enable-commit-comment: true
overwrites-pull-request-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 2
5 changes: 5 additions & 0 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
force = false

0 comments on commit 9b45680

Please sign in to comment.