-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
minor deploy and workflow changes #11
- Loading branch information
Showing
11 changed files
with
100 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
name: "Build" | ||
description: "Build the project." | ||
|
||
runs: | ||
using: "composite" | ||
steps: | ||
- name: Build | ||
shell: bash | ||
run: npm run build |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Deploy' | ||
description: 'Deploy the project.' | ||
|
||
runs: | ||
using: 'composite' | ||
steps: | ||
- name: No jekyll | ||
run: touch out/.nojekyll | ||
- name: Deploy | ||
uses: JamesIves/github-pages-deploy-action@v4 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
branch: gh-pages | ||
folder: out | ||
clean: true | ||
target-folder: . | ||
git-config-name: ${{ github.actor }} | ||
git-config-email: ${{ github.actor }}@users.noreply.github.com | ||
commit-message: Deploy from commit ${{ github.sha }} |
File renamed without changes.
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
import {MetadataRoute} from 'next'; | ||
import {env} from './env.mjs'; | ||
import tailwindConfig from '../tailwind.config'; | ||
|
||
const colors = tailwindConfig.theme.extend.colors; | ||
const {alternate = 'black'} = colors; | ||
|
||
const {ASSETS_BASE_PATH = ''} = env; | ||
|
||
// eslint-disable-next-line jsdoc/require-jsdoc | ||
export default function manifest(): MetadataRoute.Manifest { | ||
return { | ||
name: 'Salsaviva - Salsa, Bachata and Kizomba in Yerevan', | ||
short_name: 'Salsaviva', | ||
description: 'Social dance school in Yerevan', | ||
theme_color: alternate, | ||
background_color: alternate, | ||
display: 'standalone', | ||
orientation: 'portrait', | ||
scope: '/', | ||
start_url: '/', | ||
icons: [ | ||
{ | ||
src: `${ASSETS_BASE_PATH}/icons/logo_192.png`, | ||
type: 'image/png', | ||
sizes: '192x192', | ||
}, | ||
{ | ||
src: `${ASSETS_BASE_PATH}/icons/logo_maskable_192.png`, | ||
type: 'image/png', | ||
sizes: '192x192', | ||
purpose: 'maskable', | ||
}, | ||
{ | ||
src: `${ASSETS_BASE_PATH}/icons/logo_512.png`, | ||
type: 'image/png', | ||
sizes: '512x512', | ||
}, | ||
], | ||
}; | ||
} |
This file contains 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
This file was deleted.
Oops, something went wrong.