diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 267b242..e91e272 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -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