Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
3aee2ea61b | |||
6e6a3b211c | |||
f217963770 | |||
e488bb655b | |||
8e8404ade9 |
@ -8,11 +8,6 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-22.04
|
runs-on: ubuntu-22.04
|
||||||
container:
|
|
||||||
image: git.nicelycomposed.codes/koshyk-io/flutter-gitea-action-image-builder:latest
|
|
||||||
credentials:
|
|
||||||
username: ${{ secrets.IMAGE_REGISTRY_USER }}
|
|
||||||
password: ${{ secrets.IMAGE_REGISTRY_PASSWORD }}
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout source code
|
- name: Checkout source code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
@ -29,19 +24,19 @@ jobs:
|
|||||||
working-directory: ${{ gitea.workspace }}
|
working-directory: ${{ gitea.workspace }}
|
||||||
run: |
|
run: |
|
||||||
yarn build
|
yarn build
|
||||||
- name: Set up Docker Buildx
|
|
||||||
uses: docker/setup-buildx-action@v3
|
|
||||||
- name: Login to Registry
|
- name: Login to Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.nicelycomposed.codes
|
registry: git.nicelycomposed.codes
|
||||||
username: ${{ secrets.IMAGE_REGISTRY_USER }}
|
username: ${{ secrets.IMAGE_REGISTRY_USER }}
|
||||||
password: ${{ secrets.IMAGE_REGISTRY_PASSWORD }}
|
password: ${{ secrets.IMAGE_REGISTRY_PASSWORD }}
|
||||||
|
- name: Set up Docker Buildx
|
||||||
|
uses: docker/setup-buildx-action@v3
|
||||||
- name: Build docker image
|
- name: Build docker image
|
||||||
uses: docker/build-push-action@v6
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.nicelycomposed.codes/yehor/www-yevi-org:${{ gitea.ref_name }}
|
git.nicelycomposed.codes/yevi.org/www-yevi-org:${{ gitea.ref_name }}
|
||||||
git.nicelycomposed.codes/yehor/www-yevi-org:latest
|
git.nicelycomposed.codes/yevi.org/www-yevi-org:latest
|
||||||
|
15
README.md
15
README.md
@ -24,18 +24,3 @@ $ yarn build
|
|||||||
|
|
||||||
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
||||||
|
|
||||||
### Deployment
|
|
||||||
|
|
||||||
Using SSH:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ USE_SSH=true yarn deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
Not using SSH:
|
|
||||||
|
|
||||||
```
|
|
||||||
$ GIT_USER=<Your GitHub username> yarn deploy
|
|
||||||
```
|
|
||||||
|
|
||||||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|
|
||||||
|
@ -36,6 +36,14 @@ const config = {
|
|||||||
locales: ['en'],
|
locales: ['en'],
|
||||||
},
|
},
|
||||||
|
|
||||||
|
scripts: [
|
||||||
|
{
|
||||||
|
src: 'https://plausible.nicelycomposed.codes/js/script.outbound-links.js',
|
||||||
|
defer: 'true',
|
||||||
|
'data-domain': 'yevi.org',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
|
||||||
presets: [
|
presets: [
|
||||||
[
|
[
|
||||||
'classic',
|
'classic',
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "yevi-org",
|
"name": "yevi-org",
|
||||||
"version": "0.0.2",
|
"version": "0.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"docusaurus": "docusaurus",
|
"docusaurus": "docusaurus",
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
--ifm-color-primary-lightest: #6d266d;
|
--ifm-color-primary-lightest: #6d266d;
|
||||||
--ifm-code-font-size: 95%;
|
--ifm-code-font-size: 95%;
|
||||||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
|
||||||
|
--ifm-footer-link-hover-color: #b07ab0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
/* For readability concerns, you should choose a lighter palette in dark mode. */
|
||||||
@ -27,5 +28,4 @@
|
|||||||
--ifm-color-primary-lighter: #c196c1;
|
--ifm-color-primary-lighter: #c196c1;
|
||||||
--ifm-color-primary-lightest: #d1b2d1;
|
--ifm-color-primary-lightest: #d1b2d1;
|
||||||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user