-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Deploy production branch to FTP | ||
on: | ||
push: | ||
branches: [ production ] | ||
|
||
concurrency: | ||
group: 'production' | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
environment: | ||
name: production | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: production | ||
fetch-depth: 2 | ||
|
||
- uses: SamKirkland/FTP-Deploy-Action@2.0.0 | ||
env: | ||
FTP_SERVER: ${{ vars.FTP_SERVER }} | ||
FTP_USERNAME: ${{ secrets.FTP_USERNAME }} | ||
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }} | ||
LOCAL_DIR: ./ | ||
REMOTE_DIR: ${{ vars.REMOTE_PRODUCTION_DIR }} | ||
ARGS: --exclude-glob=.git*/** | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: Deploy staging branch to FTP | ||
on: | ||
push: | ||
branches: [ staging ] | ||
|
||
concurrency: | ||
group: 'staging' | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
deploy: | ||
environment: | ||
name: staging | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
ref: staging | ||
fetch-depth: 2 | ||
|
||
- uses: SamKirkland/FTP-Deploy-Action@2.0.0 | ||
env: | ||
FTP_SERVER: ${{ vars.FTP_SERVER }} | ||
FTP_USERNAME: ${{ secrets.FTP_USERNAME }} | ||
FTP_PASSWORD: ${{ secrets.FTP_PASSWORD }} | ||
LOCAL_DIR: ./ | ||
REMOTE_DIR: ${{ vars.REMOTE_STAGING_DIR }} | ||
ARGS: --exclude-glob=.git*/** | ||
|
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset='UTF-8'> | ||
<meta name='viewport' content='width=device-width, initial-scale=1.0'> | ||
<title>DATA × LIGHT</title> | ||
|
||
<link rel='icon' href='/favicon.ico' sizes='any'> | ||
<link rel='icon' href='/favicons/icon.svg' type='image/svg+xml'> | ||
<link rel='apple-touch-icon' href='/favicons/apple-touch-icon.png'> | ||
<link rel='manifest' href='/site.webmanifest'> | ||
<script type="module" crossorigin src="/assets/index-d4094426.js"></script> | ||
<link rel="stylesheet" href="/assets/index-5f56465f.css"> | ||
</head> | ||
<body data-env='production'> | ||
|
||
</body> | ||
</html> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"icons": [ | ||
{ "src": "/favicons/icon-192.png", "type": "image/png", "sizes": "192x192" }, | ||
{ "src": "/favicons/icon-512.png", "type": "image/png", "sizes": "512x512" } | ||
] | ||
} |