Skip to content

Commit

Permalink
Deploy to production
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaudjuracek committed Oct 16, 2024
0 parents commit 1da938b
Show file tree
Hide file tree
Showing 28 changed files with 2,615 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 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*/**

29 changes: 29 additions & 0 deletions .github/workflows/staging.yml
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*/**

230 changes: 230 additions & 0 deletions assets/index-2a8eeb0a.js

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions assets/index-48994bca.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-5f56465f.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-651d70c4.css

Large diffs are not rendered by default.

232 changes: 232 additions & 0 deletions assets/index-7b4bc301.js

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions assets/index-80c8678e.js

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions assets/index-8356b2ba.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-872bade6.css

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions assets/index-9791cdfb.js

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions assets/index-aa850578.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-abf8352b.css

Large diffs are not rendered by default.

231 changes: 231 additions & 0 deletions assets/index-ae40b69b.js

Large diffs are not rendered by default.

43 changes: 43 additions & 0 deletions assets/index-bbbcfeaf.js

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions assets/index-be402730.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-ceeddee0.css

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions assets/index-cf38ae49.js

Large diffs are not rendered by default.

89 changes: 89 additions & 0 deletions assets/index-d1749d0e.js

Large diffs are not rendered by default.

230 changes: 230 additions & 0 deletions assets/index-d4094426.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/index-ea4cb48d.css

Large diffs are not rendered by default.

Binary file added favicon.ico
Binary file not shown.
Binary file added favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicons/icon-192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added favicons/icon-512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions favicons/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions index.html
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-7b4bc301.js"></script>
<link rel="stylesheet" href="/assets/index-5f56465f.css">
</head>
<body data-env='production'>

</body>
</html>
6 changes: 6 additions & 0 deletions site.webmanifest
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" }
]
}

0 comments on commit 1da938b

Please sign in to comment.