Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
Planetary Sdi
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
aflab
astrogeology
Planetary Sdi
Commits
52923962
Commit
52923962
authored
2 years ago
by
Jay Laura
Browse files
Options
Downloads
Patches
Plain Diff
Adds gitignore
parents
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
.github/workflows/deploy.yml
+55
-0
55 additions, 0 deletions
.github/workflows/deploy.yml
.gitignore
+16
-0
16 additions, 0 deletions
.gitignore
with
71 additions
and
0 deletions
.github/workflows/deploy.yml
0 → 100644
+
55
−
0
View file @
52923962
name
:
aws-deploy
on
:
push
:
branches
:
-
main
# Set a branch to deploy
pull_request
:
repository_dispatch
:
types
:
[
automated_deploy
]
jobs
:
deploy
:
runs-on
:
ubuntu-latest
steps
:
-
uses
:
actions/checkout@v2
with
:
submodules
:
true
# Fetch Hugo themes (true OR recursive)
fetch-depth
:
0
# Fetch all history for .GitInfo and .Lastmod
-
name
:
Set up Python
3.7
uses
:
actions/setup-python@v1
with
:
python-version
:
3.7
-
name
:
Install dependencies
run
:
|
python -m pip install --upgrade pip setuptools
python -m pip install pyspelling
-
name
:
Install Hunspell
run
:
|
sudo apt-get install hunspell hunspell-en-us
-
name
:
Build documents
run
:
|
# Perform any documentation building that might be required
#- name: Spell check
# run: |
# python -m pyspelling
-
name
:
Setup Hugo
uses
:
actions/setup-node@v3
with
:
node-version
:
17.3.0
-
name
:
Build Site
run
:
|
npm install
npm run build
-
name
:
Set AWS credentials for upload
uses
:
aws-actions/configure-aws-credentials@v1
with
:
aws-access-key-id
:
${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key
:
${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region
:
us-west-2
-
name
:
Upload to S3
run
:
aws s3 sync ./public/ s3://asc-docs/foundationaldataproducts/ --delete
This diff is collapsed.
Click to expand it.
.gitignore
0 → 100644
+
16
−
0
View file @
52923962
# Generated files by hugo
/public/
/resources/_gen/
/assets/jsconfig.json
hugo_stats.json
# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux
# Temporary lock file while building
/.hugo_build.lock
# Node Dependencies
node_modules/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment