Skip to content

Commit

Permalink
Merge pull request #46 from ngblaylock/test-7
Browse files Browse the repository at this point in the history
test 7
  • Loading branch information
ngblaylock authored Sep 2, 2023
2 parents 635390e + 42c0d93 commit 6ec17e2
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 39 deletions.
71 changes: 35 additions & 36 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -1,56 +1,55 @@
name: Deploy to GitHub Pages
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages

on:
# Runs on pushes targeting the default branch
push:
branches:
- master
branches: ["master"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
build_site:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

# If you're using pnpm, add this step then change the commands and cache key below to use `pnpm`
# - name: Install pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8

- name: Install Node.js
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: npm
node-version: "16"

- name: Install dependencies
run: npm install
- name: Setup Pages
uses: actions/configure-pages@v3

- name: Build
- name: Build Site
run: |
npm ci
npm run build
touch build/.nojekyll
- name: Upload Artifacts
uses: actions/upload-artifact@v2
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
name: build
path: build/
path: "./build"

deploy:
needs: build_site
runs-on: ubuntu-latest

permissions:
pages: write
id-token: write

environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- name: Deploy
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
uses: actions/deploy-pages@v2
4 changes: 2 additions & 2 deletions src/components/ProjectIcons.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<div class="border-top pt-5 mt-5 text-center">
<h2 class="mb-4">Key Technology Used</h2>
<div class="d-flex flex-wrap gap-3 justify-content-center">
<!-- {#each icons as icon}
{#each icons as icon}
<img src="/icons/{icon}.svg" alt={icon.replace('-', ' ')} title={icon.replace('-', ' ')} />
{/each} -->
{/each}
</div>
</div>
{/if}
Expand Down
2 changes: 1 addition & 1 deletion src/routes/uikit/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<SEO title="UI Kit" />

<h2>Colors -- Testing -6</h2>
<h2>Colors -- Testing -7</h2>
<div class="row">
{#each theme as color}
<div class="col">
Expand Down

0 comments on commit 6ec17e2

Please sign in to comment.