Skip to content

Commit

Permalink
Merge pull request #1220 from tubone24/fix_ad
Browse files Browse the repository at this point in the history
del
  • Loading branch information
tubone24 authored Jan 9, 2023
2 parents 84472f8 + cd54125 commit a3314d0
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,9 @@ jobs:
with:
deno-version: 'v1.x'
- name: install noto font
run: sudo apt install fonts-noto
run: |
sudo apt-get update
sudo apt-get install fonts-noto
- name: Capture Webpage Screenshot
uses: swinton/[email protected]
with:
Expand All @@ -330,5 +332,5 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_REPOSITORY: "tubone24/blog"
GITHUB_PULL_REQUEST_NUMBER: ${{ steps.get-pr-num.outputs.prnum }}
BRANCH_NAME: "master"
BRANCH_NAME: "screenshot"
run: deno run --allow-env --allow-read --allow-net scripts/uploadScreenShot.ts
6 changes: 3 additions & 3 deletions .github/workflows/previewDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,9 @@ jobs:
with:
deno-version: 'v1.x'
- name: install noto font
run: sudo apt install fonts-noto
run: |
sudo apt-get update
sudo apt-get install fonts-noto
- name: Capture Webpage Screenshot
if: ${{ !contains(needs.check-skip-flags.outputs.head-commit-message, '[skip netlify]') }}
uses: swinton/[email protected]
Expand All @@ -514,8 +516,6 @@ jobs:
- uses: actions/download-artifact@v3
with:
name: screenshot-${{ matrix.os }}-${{ matrix.width }}
- name: ls
run: ls -la
- name: Get PR Number
id: get-pr-num
run: echo "prnum=$(echo $GITHUB_REF | sed -e 's/[^0-9]//g')" >> $GITHUB_OUTPUT
Expand Down

0 comments on commit a3314d0

Please sign in to comment.