Compare commits
5 Commits
Author | SHA1 | Date | |
---|---|---|---|
3aee2ea61b | |||
6e6a3b211c | |||
f217963770 | |||
e488bb655b | |||
8e8404ade9 |
@ -8,11 +8,6 @@ on:
|
||||
jobs:
|
||||
build:
|
||||
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:
|
||||
- name: Checkout source code
|
||||
uses: actions/checkout@v4
|
||||
@ -29,19 +24,19 @@ jobs:
|
||||
working-directory: ${{ gitea.workspace }}
|
||||
run: |
|
||||
yarn build
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Login to Registry
|
||||
uses: docker/login-action@v3
|
||||
with:
|
||||
registry: git.nicelycomposed.codes
|
||||
username: ${{ secrets.IMAGE_REGISTRY_USER }}
|
||||
password: ${{ secrets.IMAGE_REGISTRY_PASSWORD }}
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
- name: Build docker image
|
||||
uses: docker/build-push-action@v6
|
||||
with:
|
||||
context: .
|
||||
push: true
|
||||
tags: |
|
||||
git.nicelycomposed.codes/yehor/www-yevi-org:${{ gitea.ref_name }}
|
||||
git.nicelycomposed.codes/yehor/www-yevi-org:latest
|
||||
git.nicelycomposed.codes/yevi.org/www-yevi-org:${{ gitea.ref_name }}
|
||||
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.
|
||||
|
||||
### 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'],
|
||||
},
|
||||
|
||||
scripts: [
|
||||
{
|
||||
src: 'https://plausible.nicelycomposed.codes/js/script.outbound-links.js',
|
||||
defer: 'true',
|
||||
'data-domain': 'yevi.org',
|
||||
},
|
||||
],
|
||||
|
||||
presets: [
|
||||
[
|
||||
'classic',
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "yevi-org",
|
||||
"version": "0.0.2",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"docusaurus": "docusaurus",
|
||||
|
@ -15,6 +15,7 @@
|
||||
--ifm-color-primary-lightest: #6d266d;
|
||||
--ifm-code-font-size: 95%;
|
||||
--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. */
|
||||
@ -28,4 +29,3 @@
|
||||
--ifm-color-primary-lightest: #d1b2d1;
|
||||
--docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user