Remove old files
This commit is contained in:
parent
7566746f00
commit
5da35c76c3
|
@ -1,27 +0,0 @@
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Do not edit this file. It is automatically generated by https://www.oliverdavies.uk/build-configs.
|
|
||||||
|
|
||||||
# Load the issue ID from an `.issue-id` file within the project and replace the
|
|
||||||
# `ISSUE_ID` placeholder within a Git commit message.
|
|
||||||
#
|
|
||||||
# For example, running `echo "OD-123" > .issue-id` will add `Refs: OD-123` to
|
|
||||||
# the commit message.
|
|
||||||
#
|
|
||||||
# This also works with multiple issue IDs in the same string, e.g.
|
|
||||||
# "OD-123 OD-456", or IDs on multiple lines.
|
|
||||||
|
|
||||||
set -o errexit
|
|
||||||
set -o nounset
|
|
||||||
set -o pipefail
|
|
||||||
|
|
||||||
PROJECT_DIR=$(git rev-parse --show-toplevel)
|
|
||||||
ISSUE_FILE="$PROJECT_DIR/.issue-id"
|
|
||||||
|
|
||||||
if [ -f "${ISSUE_FILE}" ]; then
|
|
||||||
ISSUE_IDS=$(cat "${ISSUE_FILE}" | tr '\n' ',' | tr ' ' ',' | sed 's/,$//' | sed 's/,/, /g')
|
|
||||||
|
|
||||||
if [ -n "${ISSUE_IDS}" ]; then
|
|
||||||
sed -i.bak "s/# Refs:/Refs: $ISSUE_IDS/" "$1"
|
|
||||||
fi
|
|
||||||
fi
|
|
38
.github/workflows/build_deploy.yaml
vendored
38
.github/workflows/build_deploy.yaml
vendored
|
@ -1,38 +0,0 @@
|
||||||
---
|
|
||||||
name: Build and Deploy
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- main
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
build_and_deploy:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: cachix/install-nix-action@v26
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: ./run ci:install
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: ./run ci:test
|
|
||||||
|
|
||||||
- name: Generate the website
|
|
||||||
run: |
|
|
||||||
./run ci:build
|
|
||||||
tree output_prod
|
|
||||||
|
|
||||||
- name: Install the deploy key and known hosts
|
|
||||||
run: |
|
|
||||||
mkdir -p ~/.ssh && chmod 700 ~/.ssh
|
|
||||||
echo "${{ secrets.SSH_DEPLOY_KEY }}" > ~/.ssh/deploy && chmod 600 ~/.ssh/deploy
|
|
||||||
echo "${{ secrets.SSH_KNOWN_HOSTS }}" > ~/.ssh/known_hosts && chmod 600 ~/.ssh/known_hosts
|
|
||||||
|
|
||||||
- name: Deploy the website
|
|
||||||
run: ssh -i ~/.ssh/deploy oliverdavies-uk@ssh.oliverdavies.uk
|
|
27
.github/workflows/test.yaml
vendored
27
.github/workflows/test.yaml
vendored
|
@ -1,27 +0,0 @@
|
||||||
---
|
|
||||||
name: Test and Build
|
|
||||||
|
|
||||||
on:
|
|
||||||
pull_request:
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
test_and_build:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: cachix/install-nix-action@v26
|
|
||||||
with:
|
|
||||||
nix_path: nixpkgs=channel:nixos-unstable
|
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
|
|
||||||
- name: Install dependencies
|
|
||||||
run: ./run ci:install
|
|
||||||
|
|
||||||
- name: Run tests
|
|
||||||
run: ./run ci:test
|
|
||||||
|
|
||||||
- name: Generate the website
|
|
||||||
run: |
|
|
||||||
./run ci:build
|
|
||||||
tree output_prod
|
|
|
@ -1,12 +0,0 @@
|
||||||
---
|
|
||||||
name: oliverdavies-uk
|
|
||||||
template: sculpin-site
|
|
||||||
parameters:
|
|
||||||
nix:
|
|
||||||
devshell:
|
|
||||||
packages:
|
|
||||||
- bashInteractive
|
|
||||||
- nodePackages.pnpm
|
|
||||||
- nodejs
|
|
||||||
- php82
|
|
||||||
- php82Packages.composer
|
|
|
@ -1,8 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="./vendor/autoload.php" colors="true" stopOnFailure="true" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/11.1/phpunit.xsd" cacheDirectory=".phpunit.cache">
|
|
||||||
<testsuites>
|
|
||||||
<testsuite name="App">
|
|
||||||
<directory suffix="Test.php">tests</directory>
|
|
||||||
</testsuite>
|
|
||||||
</testsuites>
|
|
||||||
</phpunit>
|
|
Loading…
Reference in a new issue