Refactor publishing workflow to use local Font Awesome

This commit is contained in:
Thomas A. Christensen II 2023-02-09 18:13:58 -06:00
parent 01102226b5
commit 0b2b830afc
Signed by: millironx
GPG key ID: 09335146883990B9

View file

@ -38,6 +38,15 @@ jobs:
with:
submodules: recursive
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
uses: actions/setup-node@v3
with:
@ -50,10 +59,6 @@ jobs:
- name: Setup Pages
id: pages
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
run: npm install -g postcss-cli
- name: Install Node.js dependencies