Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
drumsta committed Jul 7, 2023
1 parent 5d240cb commit 692878f
Show file tree
Hide file tree
Showing 7 changed files with 2,127 additions and 1,805 deletions.
266 changes: 1 addition & 265 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,265 +1 @@
# Auto detect text files and perform LF normalization
* text=auto

# These files are text and should be normalized (Convert crlf => lf)
*.gitattributes text
.gitignore text

# Exclude files from exporting
.gitattributes export-ignore
.gitignore export-ignore
.gitkeep export-ignore

# Enable syntax highlighting for files with `.gitattributes` extensions.
*.gitattributes linguist-language=gitattributes

# Visual Studio attributes.
*.sln text eol=crlf merge=union
*.csproj text eol=crlf merge=union
*.vbproj text eol=crlf
*.vcxproj text eol=crlf
*.vcproj text eol=crlf
*.dbproj text eol=crlf
*.fsproj text eol=crlf
*.lsproj text eol=crlf
*.wixproj text eol=crlf
*.modelproj text eol=crlf
*.sqlproj text eol=crlf
*.wwaproj text eol=crlf
*.xproj text eol=crlf
*.props text eol=crlf
*.filters text eol=crlf
*.vcxitems text eol=crlf

# C# attributes.
*.cs text diff=csharp
*.cshtml text diff=html
*.csx text diff=csharp

# F# attributes.
*.fs text diff=fsharp
*.fsx text diff=fsharp

# Documents
*.bibtex text diff=bibtex
*.doc diff=astextplain
*.DOC diff=astextplain
*.docx diff=astextplain
*.DOCX diff=astextplain
*.dot diff=astextplain
*.DOT diff=astextplain
*.pdf diff=astextplain
*.PDF diff=astextplain
*.rtf diff=astextplain
*.RTF diff=astextplain
*.tex text diff=tex
*.adoc text
*.textile text
*.mustache text
*.csv text
*.tab text
*.tsv text
*.txt text
*.sql text
*.sql linguist-detectable=true
*.sql linguist-language=sql

# Graphics
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.gifv binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpeg binary
*.jpg binary
*.jpx binary
*.jxr binary
*.png binary
*.psb binary
*.psd binary
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary
# SVG treated as text by default.
*.svg text
# If you want to treat it as binary, use the following line instead.
# *.svg binary

# Scripts
*.bash text eol=lf
*.fish text eol=lf
*.sh text eol=lf
*.zsh text eol=lf
# These are explicitly windows files and should use crlf
*.bat text eol=crlf
*.cmd text eol=crlf

# PowerShell Scripts
*.ps1 text eol=crlf
*.ps1x text eol=crlf
*.psm1 text eol=crlf
*.psd1 text eol=crlf
*.ps1xml text eol=crlf
*.pssc text eol=crlf
*.psrc text eol=crlf
*.cdxml text eol=crlf

# Configs
*.cnf text
*.conf text
*.config text
*.lock text -diff
.editorconfig text
.env text
.gitconfig text
.htaccess text
.prettierrc text
browserslist text
makefile text
Makefile text
package.json text eol=lf
package-lock.json text -diff
pnpm-lock.yaml text eol=lf -diff
yarn.lock text -diff

# Serialisation
*.json text
*.toml text
*.xml text
*.yaml text
*.yml text

# Archives
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.tgz binary
*.zip binary

# Web
*.coffee text
*.css text diff=css
*.htm text diff=html
*.html text diff=html
*.inc text
*.ini text
*.js text
*.jsx text
*.less text
*.ls text
*.map text -diff
*.od text
*.onlydata text
*.php text diff=php
*.pl text
*.py text diff=python
*.rb text diff=ruby
*.sass text
*.scm text
*.scss text diff=css
*.styl text
*.tag text
*.ts text
*.tsx text
*.xhtml text diff=html

# Docker
Dockerfile text

# Documentation
*.ipynb text
*.markdown text diff=markdown
*.md text diff=markdown
*.mdwn text diff=markdown
*.mdown text diff=markdown
*.mkd text diff=markdown
*.mkdn text diff=markdown
*.mdtxt text
*.mdtext text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

# Templates
*.ejs text
*.erb text
*.haml text
*.handlebars text
*.hbs text
*.hbt text
*.jade text
*.latte text
*.njk text
*.phtml text
*.svelte text
*.tmpl text
*.tpl text
*.twig text
*.vue text

# Heroku
Procfile text

# Audio
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

# Video
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.avi binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

# Fonts
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

# Executables
*.exe binary
*.pyc binary

# RC files (like .babelrc or .eslintrc)
*.*rc text

# Text files where line endings should be preserved
*.patch -text
* text=auto eol=lf
16 changes: 8 additions & 8 deletions .github/workflows/azure-static-web-apps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ name: Azure Static Web Apps CI/CD
on:
push:
branches:
- '**'
- "xx"
pull_request:
types: [opened, synchronize, reopened, closed]
branches:
- main
- xx
workflow_dispatch:

jobs:
Expand All @@ -18,7 +18,7 @@ jobs:
name: Build and Deploy
runs-on: ubuntu-latest
environment:
name: 'Production'
name: "Production"
url: https://www.companionforts.com

steps:
Expand All @@ -29,13 +29,13 @@ jobs:
id: build-deploy
uses: Azure/static-web-apps-deploy@v1
with:
action: 'upload'
production_branch: 'main'
action: "upload"
production_branch: "main"
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments)
app_location: '/' # This folder contains the source code for your front-end application.
app_location: "/" # This folder contains the source code for your front-end application.
# api_location: 'dist/server' # This folder that contains the source code for your API application.
output_location: 'dist' # If your web app runs a build step, the output location is the folder where the public files are generated.
output_location: "dist" # If your web app runs a build step, the output location is the folder where the public files are generated.

- name: Audit URLs using Lighthouse
uses: treosh/lighthouse-ci-action@v9
Expand All @@ -56,5 +56,5 @@ jobs:
id: closepullrequest
uses: Azure/static-web-apps-deploy@v1
with:
action: 'close'
action: "close"
azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN }}
10 changes: 5 additions & 5 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
name: 'CodeQL'
name: "CodeQL"

on:
push:
branches:
- '**'
- "**"
pull_request:
branches:
- main
schedule:
- cron: '45 20 * * 5'
- cron: "45 20 * * 5"
workflow_dispatch:

jobs:
Expand All @@ -24,7 +24,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['javascript']
language: ["javascript"]

steps:
- name: Checkout
Expand Down Expand Up @@ -59,4 +59,4 @@ jobs:
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
with:
category: '/language:${{matrix.language}}'
category: "/language:${{matrix.language}}"
Loading

0 comments on commit 692878f

Please sign in to comment.