Skip to content

Commit

Permalink
Pushing local content from skunkworks-carbon
Browse files Browse the repository at this point in the history
  • Loading branch information
burnt-exe committed Oct 4, 2024
1 parent 0e7f061 commit 08f1247
Show file tree
Hide file tree
Showing 3,408 changed files with 114,703 additions and 2,375 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 1 addition & 0 deletions .anima/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cache
8 changes: 8 additions & 0 deletions .anima/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<title>Index</title>
</head>
<body>
<h1>Index of C:\web\web_repo\.anima</h1>
</body>
</html>
40 changes: 40 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Dependabot configuration file
version: 2
updates:
# Update npm dependencies
- package-ecosystem: "npm"
directory: "/" # The root directory containing package.json
schedule:
interval: "weekly" # Check for updates every week
# Optionally, specify a day and time for the updates
# day: "monday"
# time: "04:00"

# Update Bundler dependencies (for Ruby)
- package-ecosystem: "bundler"
directory: "/" # The root directory containing Gemfile
schedule:
interval: "weekly" # Check for updates every week
# Optionally, specify a day and time for the updates
# day: "tuesday"
# time: "05:00"

# Update Docker dependencies
- package-ecosystem: "docker"
directory: "/" # The directory containing your Dockerfile
schedule:
interval: "weekly" # Check for updates every week
# Optionally, specify a day and time for the updates
# day: "wednesday"
# time: "06:00"

# Update Python dependencies (for pip)
- package-ecosystem: "pip"
directory: "/" # The root directory containing requirements.txt or pyproject.toml
schedule:
interval: "weekly" # Check for updates every week
# Optionally, specify a day and time for the updates
# day: "thursday"
# time: "07:00"

# You can add more configurations for different package ecosystems as needed.
8 changes: 8 additions & 0 deletions .github/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<title>Index</title>
</head>
<body>
<h1>Index of C:\web\web_repo\.github</h1>
</body>
</html>
10 changes: 10 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "weekly"
- package-ecosystem: "bundler"
directory: "/"
schedule:
interval: "weekly"
62 changes: 62 additions & 0 deletions .github/workflows/deploy-github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Deploy to GitHub Pages

on:
push:
branches: ["main"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for accurate build

- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: '16.x'
cache: 'npm'

- name: Create missing directories and files
run: |
mkdir -p ./backend
mkdir -p ./jekyll
touch ./jekyll/Gemfile
touch ./jekyll/_config.yml
# This will ensure the directories and essential files are present

- name: Install dependencies
run: |
npm install
working-directory: ./backend

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'

- name: Install Jekyll dependencies
run: bundle install
working-directory: ./jekyll

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Build with Jekyll
run: bundle exec jekyll build
working-directory: ./jekyll

- name: Upload artifact
uses: actions/upload-pages-artifact@v3

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
39 changes: 39 additions & 0 deletions .github/workflows/deploy-heroku.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Deploy Skunkworks Contact Form

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Set up Node.jscode
uses: actions/setup-node@v2
with:
node-version: '14'

- name: Install dependencies
run: npm install
working-directory: ./backend

- name: Deploy to Heroku
env:
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
HEROKU_APP_NAME: ${{ secrets.HEROKU_APP_NAME }}
HEROKU_EMAIL: ${{ secrets.HEROKU_EMAIL }}
run: |
echo "machine api.heroku.com" >> ~/.netrc
echo " login ${{ secrets.HEROKU_EMAIL }}" >> ~/.netrc
echo " password ${{ secrets.HEROKU_API_KEY }}" >> ~/.netrc
echo "machine git.heroku.com" >> ~/.netrc
echo " login ${{ secrets.HEROKU_EMAIL }}" >> ~/.netrc
echo " password ${{ secrets.HEROKU_API_KEY }}" >> ~/.netrc
git remote add heroku https://git.heroku.com/${{ env.HEROKU_APP_NAME }}.git
git push heroku main
working-directory: ./backend
67 changes: 67 additions & 0 deletions .github/workflows/deploy-jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
name: Deploy to GitHub Pages

on:
push:
branches: ["main"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for accurate build

- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: '16.x'
cache: 'npm'

- name: Install Node.js dependencies
run: npm install
working-directory: ./backend # Adjust to your backend directory

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'

- name: Create Jekyll directory if missing
run: |
if [ ! -d "./jekyll" ]; then
echo "Jekyll directory not found, creating it..."
mkdir ./jekyll
fi
- name: Install Jekyll dependencies
run: bundle install
working-directory: ./jekyll # Adjust to your Jekyll directory if it exists

- name: Setup Pages
uses: actions/configure-pages@v4

- name: Build with Jekyll
run: |
if [ -d "./jekyll" ]; then
bundle exec jekyll build
else
echo "Jekyll directory not found, skipping build step..."
fi
working-directory: ./jekyll # Adjust to your Jekyll directory if it exists

- name: Upload Jekyll artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./jekyll/_site # Adjust to your Jekyll output directory if it exists

- name: Deploy to GitHub Pages
uses: actions/deploy-pages@v4
69 changes: 69 additions & 0 deletions .github/workflows/github-pages.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
name: Deploy to GitHub Pages

on:
push:
branches: ["main"]
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

jobs:
build-and-deploy:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0 # Fetch all history for accurate build

- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: '16.x'
cache: 'npm'

- name: Install dependencies
run: |
npm install
continue-on-error: true # Allow the step to continue even if it fails
- name: Retry Install dependencies if it fails
if: failure() # Check if previous step failed
run: |
npm install
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'

- name: Install Jekyll dependencies
run: |
bundle install
continue-on-error: true # Allow the step to continue even if it fails
- name: Retry Install Jekyll dependencies if it fails
if: failure() # Check if previous step failed
run: |
bundle install
- name: Setup Pages
uses: actions/configure-pages@v4

- name: Build with Jekyll
run: |
bundle exec jekyll build
continue-on-error: true # Allow the step to continue even if it fails
- name: Retry Build with Jekyll if it fails
if: failure() # Check if previous step failed
run: |
bundle exec jekyll build
- name: Upload artifact
uses: actions/upload-pages-artifact@v3

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
8 changes: 8 additions & 0 deletions .github/workflows/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html>
<head>
<title>Index</title>
</head>
<body>
<h1>Index of C:\web\web_repo\.github\workflows</h1>
</body>
</html>
65 changes: 65 additions & 0 deletions .github/workflows/site-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
name: Site Check

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build-and-test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '16'

- name: Install dependencies
run: npm install

- name: Run linting for JS and CSS
run: |
npm run lint:js
npm run lint:css
- name: Run tests
run: npm test

- name: Run Storybook tests
run: npm run chromatic --project-token=${{ secrets.CHROMATIC_PROJECT_TOKEN }}

- name: Build project
run: npm run build

- name: Validate HTML
run: npx html-validator-cli --file dist/**/*.html --format=text

- name: Validate CSS
run: npx stylelint "dist/**/*.css"

- name: Validate JS
run: npx eslint "dist/**/*.js"

- name: Verify images
run: python ./verify_images.py

deploy:
runs-on: ubuntu-latest
needs: build-and-test

steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist
Loading

0 comments on commit 08f1247

Please sign in to comment.