Refactor publishing workflow to use local Font Awesome
This commit is contained in:
parent
01102226b5
commit
0b2b830afc
1 changed files with 9 additions and 4 deletions
13
.github/workflows/hugo.yml
vendored
13
.github/workflows/hugo.yml
vendored
|
@ -38,6 +38,15 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
- name: Install git-crypt
|
||||||
|
run: |
|
||||||
|
sudo apt-get install git-crypt -y
|
||||||
|
- name: Decrypt repository
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.GIT_CRYPT_KEY }}" \
|
||||||
|
| base64 --decode \
|
||||||
|
> ~/millironx.github.io.key
|
||||||
|
git-crypt unlock ~/millironx.github.io.key
|
||||||
- name: Install Node.js
|
- name: Install Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
|
@ -50,10 +59,6 @@ jobs:
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
id: pages
|
id: pages
|
||||||
uses: actions/configure-pages@v2
|
uses: actions/configure-pages@v2
|
||||||
- name: Configure custom Node.js repositories
|
|
||||||
run: |
|
|
||||||
npm config set "@fortawesome:registry" https://npm.fontawesome.com/
|
|
||||||
npm config set "//npm.fontawesome.com/:_authToken" ${{ secrets.FONTAWESOME_TOKEN }}
|
|
||||||
- name: Install postcss cli
|
- name: Install postcss cli
|
||||||
run: npm install -g postcss-cli
|
run: npm install -g postcss-cli
|
||||||
- name: Install Node.js dependencies
|
- name: Install Node.js dependencies
|
||||||
|
|
Loading…
Reference in a new issue